package com.ruoyi.lipin.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 攻略业务对象 lp_strategy
 *
 * @author ruoyi
 * @date 2025-03-08
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class LpStrategyBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long strategyId;

    /**
     * 攻略标题
     */
    @NotBlank(message = "攻略标题不能为空", groups = { AddGroup.class, EditGroup.class })
    private String title;

    /**
     * 攻略内容
     */
    @NotBlank(message = "攻略内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String content;

    /**
     * 封面图
     */
    @NotBlank(message = "封面图不能为空", groups = { AddGroup.class, EditGroup.class })
    private String coverImage;


}
